import React from 'react'
import style from './style.indicator'
import cx from 'classnames'

export default (props) => (
  <div className={cx({
    [style.loading]: true,
    [props.className]: props.className
  })}>
    <div className={style['loading-dot']}></div>
    <div className={style['loading-dot']}></div>
    <div className={style['loading-dot']}></div>
    <div className={style['loading-dot']}></div>
  </div>
)
